package sctu.edu.java.year2016.team07.nieying.day20160601.chapter9_3;

/**
 * Created by Administrator on 2016/6/1 0001.
 */
public class Animals implements Eat {
    public void eat(){
        Animals x=new Animals(){
            public void eat(){
                System.out.println("animal could eat!");
            }
        };
        x.eat();
    }

}
